package GUI.TabPanels;

import java.awt.Color;

import javax.swing.JTabbedPane;

import GUI.TabPanels.AdminTabs.AddRoomPanel;
import GUI.TabPanels.AdminTabs.CreateAccountPanel;
import GUI.TabPanels.AdminTabs.CreateHotelPanel;
import GUI.TabPanels.AdminTabs.CreateRoomTypePanel;

@SuppressWarnings("serial")
public class AdminPanel extends JTabbedPane{
	private AddRoomPanel add_room_panel;
	private CreateRoomTypePanel add_type_panel;
	private CreateHotelPanel add_hotel_panel;
	private CreateAccountPanel add_employee_panel;
	
	public AdminPanel(){
		add_room_panel = new AddRoomPanel();
		add_type_panel = new CreateRoomTypePanel();
		add_hotel_panel = new CreateHotelPanel();
		add_employee_panel = new CreateAccountPanel();

		this.setBackground(Color.PINK);
				
		addTab("Add Room", add_room_panel);
		addTab("Create Room Type", add_type_panel);
		addTab("Create Hotel", add_hotel_panel);
		addTab("Add Account", add_employee_panel);
	}
	
}
